package com.imiku.repository;

import com.imiku.model.MenuInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MenuInfoRepository extends JpaRepository<MenuInfo,Integer> {

    public List<MenuInfo> findByParentId(Integer parentId);
}
